package com.caiheng.api.entity.estate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 *
 */
@Data
@TableName("terminals_check_record")
public class TerminalCheckRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer terminalId;
	private Integer fittingId;
	private Integer isClean;
	private Integer wxUserId;
	private Integer estateId;
	private Integer checkState;
	private String checkResult;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private Integer isDel;
	private Integer repairState;
	private String sendMsgOkIds;
	private String sendMsgErrorIds;


	@TableField(exist = false)
	private String estateName;

	@TableField(exist = false)
	private String terminalName;
	@TableField(exist = false)
	private String terminalNum;

	@TableField(exist = false)
	private String sysUserName;

	@TableField(exist = false)
	private Integer sysUserId;

	@TableField(exist = false)
	List<TerminalCheckRecordImg> imgs;
}
